package common.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import common.model.po.base.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author 米泽鹏
 * @since 2024-08-17 下午 06:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("g_blueprint_classification")
@ApiModel(value = "GBlueprintClassification对象", description = "")
public class GBlueprintClassification extends BasePo<GBlueprintClassification> {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "蓝图id")
	private Long blueprintId;

	@ApiModelProperty(value = "类别id")
	private Long classificationId;

	@ApiModelProperty(value = "同级中的排序")
	private Integer sort;

	@Override
	public Serializable pkVal() {
		return super.getId();
	}

}
